package cn.iocoder.yudao.module.security.controller.admin.communicate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 通信行为 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SecurityCommunicateRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19152")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "IP地址")
    @ExcelProperty("IP地址")
    private String ipAddress;

    @Schema(description = "上行流量")
    @ExcelProperty("上行流量")
    private BigDecimal upStream;

    @Schema(description = "下行流量")
    @ExcelProperty("下行流量")
    private BigDecimal downStream;

    @Schema(description = "成功连接数")
    @ExcelProperty("成功连接数")
    private Long successConnection;

    @Schema(description = "失败连接数")
    @ExcelProperty("失败连接数")
    private Long errorConnection;

    @Schema(description = "是否异常通信", example = "1")
    @ExcelProperty("是否异常通信")
    private String deviceStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}